package edu.xjtu.jih.lost;

import com.alibaba.fastjson.annotation.JSONField;

import java.sql.Date;

public class LostDto {
    private String lf_id;
    private String lf_name;
    private String lf_desc;
    private String lf_userid;
    private Date lf_time;
    private Integer lf_kind;
    //private int lf_iden;

   // private LostDto(){
       // setlf_iden(1);
    //}


    /*public int getLf_iden() {
        return lf_iden;
    }*/

   /* public void setlf_iden(int iden) {
        this.lf_iden = iden;
    }*/

    public Integer getLf_kind() {
        return lf_kind;
    }

    public void setLf_kind(Integer lf_kind) {
        this.lf_kind = lf_kind;
    }

    public String getLf_id() {
        return lf_id;
    }

    public void setLf_id(String lf_id) {
        this.lf_id = lf_id;
    }

    public String getLf_name() {
        return lf_name;
    }

    public void setLf_name(String lf_name) {
        this.lf_name = lf_name;
    }


    public String getLf_desc() {
        return lf_desc;
    }

    public void setLf_desc(String lf_desc) {
        this.lf_desc = lf_desc;
    }

    public String getLf_userid() {
        return lf_userid;
    }

    public void setLf_userid(String lf_userid) {
        this.lf_userid = lf_userid;
    }

    @JSONField(format = "yyyy-MM-dd")
    public Date getLf_time() {
        return lf_time;
    }

    public void setLf_time(Date lf_time) {
        this.lf_time = lf_time;
    }

    @Override
    public String toString() {
        return "LostDto{" +
                "lf_id='" + lf_id + '\'' +
                ", lf_name='" + lf_name + '\'' +
                ", lf_time='" + lf_time + '\'' +
                ", lf_kind=" + lf_kind +
                ", lf_desc='" + lf_desc + '\'' +
                ", lf_userid='" + lf_userid + '\'' +
                '}';
    }
}
